/**
 * PageMarket
 * OrderDetailAction.java
 * com.android.pagemarket.io.protocol.in
 * 
 */
package com.android.pagemarket.io.protocol.in;

import com.android.pagemarket.io.protocol.out.Order;

/*********************************************************
 * @author : zhaohua
 * @version : 2012-11-5
 * @see : 订单查询详细接口
 * @Copyright : copyrights reserved by personal 2007-2012
 **********************************************************/
public class OrderDetailAction extends HttpAction<Order>
{
//    companyNum  是   C   公司编号
//    oid         是   N   订单编号
    public OrderDetailAction(String companyNum, int oid)
    {
        super("7");
        addJsonParam("companyNum", companyNum);
        addJsonParam("oid", oid);
    }

    @Override
    protected Order parseJson(String response) throws Exception
    {
        Order one = new Order();
        one.parseResult(response);
        return one;
    }

}
